import { requestPost, requestGet } from "@/service/requestL";
export function GetPrintTempForHiprintList() {
    return requestPost({
        url: "/api/PrintTempForHiprint/GetPrintTempList"
    });
}

export function DeletePrintTempForHiprint(id) {
    return requestPost({
        url: "/api/PrintTempForHiprint/DeletePrintTemp",
        data: {
            id: id
        }
    });
}

export function SavePrintTempForHiprint(data) {
    return requestPost({
        url: "/api/PrintTempForHiprint/SavePrintTemp",
        data: data
    });
}
export function GetPrintTempForHiprintById(id) {
    return requestPost({
        url: "/api/PrintTempForHiprint/GetPrintTempById",
        data: {
            id: id
        }
    });
}

export function GetPrintTempList() {
    return requestPost({
        url: "/api/PrintTemp/GetPrintTempList"
    });
}

export function DeletePrintTemp(id) {
    return requestPost({
        url: "/api/PrintTemp/DeletePrintTemp",
        data: {
            id: id
        }
    });
}

export function SavePrintTemp(data) {
    return requestPost({
        url: "/api/PrintTemp/SavePrintTemp",
        data: data
    });
}
export function GetPrintTempById(id) {
    return requestPost({
        url: "/api/PrintTemp/GetPrintTempById",
        data: {
            id: id
        }
    });
}
